<h1>Listing nations</h1>

<table>
  <tr>
    <th>Name</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @nations.each do |nation| %>
  <tr>
    <td><%= nation.name %></td>
    <td><%= nation.id%></td>
    <td><%= nation.value%></td>
    <td><%= link_to 'Show', nation %></td>
    <td><%= link_to 'Edit', edit_nation_path(nation) %></td>
    <td><%= link_to 'Destroy', nation, :method => :delete, :data => { :confirm => 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Nation', new_nation_path %>
